<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
    Desarrollado por Gregorovichz Carlos Rossi.
-->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui">
    <div class="header">
        <div class="title">
             <table style="width: 100%">
                <tr>
                    <td style="width: 300px;">
                         <div class="logo">
                            <img src="${facesContext.externalContext.requestContextPath}/resource/images/logo.png" />
                        </div>
                    </td>
                    <td style="text-align: right;">
                        <div style="text-align: right;">
                            <img src="${facesContext.externalContext.requestContextPath}/resource/images/logo_midis.png"  style="width: 150px;"/>
                        </div>
                    </td>
                </tr>
            </table>
            <div style="width: 700px;text-align: center;font-family: sans-serif;text-shadow: 0 1px #FFFFFF;font-size: 18px;font-weight: bold;vertical-align: bottom;float: right;margin: -10px 0 0;padding: 0 400px 0 50px;text-align: right;width: 450px;">
                SISTEMA DE SEGURIDAD DE APLICACIONES - SSA
            </div>
            <div class="userdate">
                <h:form>
                <p:commandButton type="button" icon="ui-icon-person" />
                <h:outputText value="#{loginController.beanBusqueda.codUsuario}" />
                <h:outputText value="&#160;" />
                <a href="#{facesContext.externalContext.requestContextPath}/CerrarSesionServlet" style="font-weight: bold;"
                   class="ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only">
                    <span class="ui-button-icon-left ui-icon ui-icon-key"></span>
                    <span class="ui-button-text">ui-button</span>
                </a>
                <h:outputText value="Salir" />
                </h:form>
            </div>
        </div>
    </div>
</ui:composition>
